package cn.ayun.service;

import cn.ayun.bean.Employee;
import cn.ayun.dao.EmployeeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeService {
    @Autowired
    private EmployeeDao employeeDao;

    public Employee getEmployeeById(Integer id) {
        return employeeDao.getEmployeeById(id);
    }
}
